import java.util.*;
 interface Comparator{
    int max(int x,int y);


}
 class ComparatorImpl implements Comparator{



    public int max(int x,int y){
        if(x>y){
            return x;

        }else{
            return y;
        }


    }
}

public class Main {
    public static void main(String[] args) {
        Comparator comparator = new ComparatorImpl();
        Scanner scanner =new Scanner(System.in);
        scanner.hasNextInt();

        int x = scanner.nextInt();
        int y = scanner.nextInt();
        System.out.println(comparator.max(x,y));

    }
}
